//
//  DisCountnewCellCollectionViewCell.m
//  UI_HLJ_Frame
//
//  Created by  毕宏伟 on 15/7/6.
//  Copyright (c) 2015年 毕宏伟. All rights reserved.
//

#import "DisCountnewCellCollectionViewCell.h"

#define WIDHT self.contentView.frame.size.height
#define HEIGHT self.contentView.frame.size.height

@implementation DisCountnewCellCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backView = [[UIView alloc]initWithFrame:CGRectMake(WIDHT / 16,10, WIDHT / 1.5, HEIGHT/1.2)];
        self.backView.backgroundColor =[UIColor whiteColor];
        [self.contentView addSubview:self.backView];
        [_backView release];
        self.backView.layer.borderWidth = 0.5;
        self.backView.layer.cornerRadius = 5;
        
        self.bigImage =[[UIImageView alloc]initWithFrame:CGRectMake(WIDHT / 16, 10, WIDHT / 1.5, 180)];
        [self.contentView addSubview:self.bigImage];
//        self.bigImage.backgroundColor = [UIColor purpleColor];
        [_bigImage release];
        
        self.titleLabel =[[UILabel alloc]initWithFrame:CGRectMake(WIDHT / 15, 200, 250, 30)];
//        self.titleLabel.backgroundColor =[UIColor redColor];
        [self.contentView addSubview:self.titleLabel];
        
        self.shichangLabel =[[UILabel alloc]initWithFrame:CGRectMake(WIDHT / 16, 240, 150, 30)];
//        self.shichangLabel.backgroundColor =[UIColor cyanColor];
        [self.contentView addSubview:self.shichangLabel];
        self.shichangLabel.font =[UIFont boldSystemFontOfSize:14];
        [_shichangLabel release];
        
        self.zhekouLabel=[[UILabel alloc]initWithFrame:CGRectMake(WIDHT / 2.3, 240, 120, 30)];
//        self.zhekouLabel.backgroundColor = [UIColor greenColor];
        [self.contentView addSubview:self.zhekouLabel];
        self.zhekouLabel.font =[UIFont boldSystemFontOfSize:14];
        self.zhekouLabel.textColor = [UIColor redColor];
        [_zhekouLabel release];
     
    }
    return self;
}




@end
